package com.xiaoyi.customer.dao;

import org.apache.ibatis.annotations.Param;

import com.xiaoyi.customer.domain.WechatUser;

public interface IWechatUserDao {
    int deleteByPrimaryKey(String userId);

    int insert(WechatUser record);

    int insertSelective(WechatUser record);

    WechatUser selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(WechatUser record);

    int updateByPrimaryKey(WechatUser record);
    
	public WechatUser getUserByOpenId(@Param("openid")String openid);
}